CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)

GAddSource(GRawInputDeviceKeyboard.cpp	LISTS SourceList)
GAddSource(GRawInputDeviceKeyboard.h 	LISTS SourceList HeaderList)

GAddSource(GRawInputDeviceMouse.cpp		LISTS SourceList)
GAddSource(GRawInputDeviceMouse.h 		LISTS SourceList HeaderList)

GAddSource(GRawInputModule.cpp			LISTS SourceList)
GAddSource(GRawInputModule.h 			LISTS SourceList HeaderList)

GAddLibrary(GRawInput HEADERS ${HeaderList} SOURCES ${SourceList} PLATFORMS Windows)

GLinkLibrary(GRawInput LIBS GThread GInput)

GGroupProject(GRawInput "Modules")